package 安全组合模式;

public class Person extends Component {
    protected String name;
    public Person(String name)
    {
    	this.name=name;
    }
	@Override
	public String showRelationship() {
              return "成员"+name+" ";
	}

}
